Telegram Group & Telegram Channel
عندما تقوم بعمل خلفية (صورة) للفورم فأنك سوف تواجهه صعوبه في التحكم بالفورم وظهور وميض ابيض في كل من وقت التصميم و وقت التنفيذ

ولكي تقوم بحل المشكلة اليك الطرق التالية :

في الطريقة الاولى يتم حل المشكلة في وقت التنفيذ يعني عندما تنفذ البرنامج وذلك من خلال الخاصية DoubleBuffered
public Form2()
{
InitializeComponent();


DoubleBuffered = true;

}

الطريقة الثانية تحل المشكلة في كلتا الحالتين في وقت التصميم و التنفيذ

وذلك من خلال عمل كلاس يورث من الكلاس Panel كما يلي

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Resize_Form
{
class BackgroundPanel:Panel
{
public BackgroundPanel():base()
{
this.DoubleBuffered = true;

}


}
}

الان تقوم بإضافة اداة BackgroundPanel الى الفورم وتقوم بعمل الخصائص التالية

Dock = Fill
بعد ذلك تقوم بتحديد الصورة
BackgroundImage =



tg-me.com/CsharpWindowsForm/373
Create:
Last Update:

عندما تقوم بعمل خلفية (صورة) للفورم فأنك سوف تواجهه صعوبه في التحكم بالفورم وظهور وميض ابيض في كل من وقت التصميم و وقت التنفيذ

ولكي تقوم بحل المشكلة اليك الطرق التالية :

في الطريقة الاولى يتم حل المشكلة في وقت التنفيذ يعني عندما تنفذ البرنامج وذلك من خلال الخاصية DoubleBuffered
public Form2()
{
InitializeComponent();


DoubleBuffered = true;

}

الطريقة الثانية تحل المشكلة في كلتا الحالتين في وقت التصميم و التنفيذ

وذلك من خلال عمل كلاس يورث من الكلاس Panel كما يلي

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Resize_Form
{
class BackgroundPanel:Panel
{
public BackgroundPanel():base()
{
this.DoubleBuffered = true;

}


}
}

الان تقوم بإضافة اداة BackgroundPanel الى الفورم وتقوم بعمل الخصائص التالية

Dock = Fill
بعد ذلك تقوم بتحديد الصورة
BackgroundImage =

BY برمجة تطبيقات الويندوز C# Programming


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/CsharpWindowsForm/373

View MORE
Open in Telegram


برمجة تطبيقات الويندوز C Programming Telegram | DID YOU KNOW?

Date: |

The messaging service and social-media platform owes creditors roughly $700 million by the end of April, according to people briefed on the company’s plans and loan documents viewed by The Wall Street Journal. At the same time, Telegram Group Inc. must cover rising equipment and bandwidth expenses because of its rapid growth, despite going years without attempting to generate revenue.

Unlimited members in Telegram group now

Telegram has made it easier for its users to communicate, as it has introduced a feature that allows more than 200,000 users in a group chat. However, if the users in a group chat move past 200,000, it changes into "Broadcast Group", but the feature comes with a restriction. Groups with close to 200k members can be converted to a Broadcast Group that allows unlimited members. Only admins can post in Broadcast Groups, but everyone can read along and participate in group Voice Chats," Telegram added.

برمجة تطبيقات الويندوز C Programming from es


Telegram برمجة تطبيقات الويندوز C# Programming
FROM USA